package com.charity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("charity_box")
public class CharityBox implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String description;
    private String category;
    private Integer status; // 0: 待领取, 1: 已领取
    private Long donorId;
    private Long receiverId;
    private String reason;
    private Date donateTime;
    private Date receiveTime;
    private String image;
    private String province;
    private String city;
    private String district;
    private String address;
    private Date createTime;
    private Date updateTime;

}